import { createRouter, createWebHashHistory } from 'vue-router'

import Home from '../views/Home.vue'

import Knowledge from '../views/Knowledge/Knowledge.vue'


import CssLib from '../views/CssLib/CssLib.vue'



import VueWheel from '../views/VueWheel/VueWheel.vue'


const routes = [
  {
    path: '',
    redirect:'/home',
  },
  {
    path: '/home',
    name: 'Home',
    component: Home,
  },
	{
	  path: '/Knowledge',
	  name: 'Knowledge',
	  component: Knowledge,
	},
	{
		path: '/CssLib',
		name: 'CssLib',
		component: CssLib,
		
	},
	{
		path: '/VueWheel',
		name: 'VueWheel',
		component: VueWheel,
	}
]

const router = createRouter({
  history: createWebHashHistory(process.env.BASE_URL),
	
  routes
})

export default router
